home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
WSCLDEMO.C
< prev
next >
Wrap
Text File
|
1990-01-30
|
423b
|
15 lines
#include <stdio.h>
#include "pcwproto.h"
void main(void) {
WNDPTR *wnd;
wnd = wpush(6,10,18,70); /* Save area on screen */
set_wnd_attr(wnd,RED,RED); /* Set window colors */
while(!kbhit()) {
wscroll(wnd,0,3); /* Scroll wnd down 3 lines */
wscroll(wnd,0,-3); /* Scroll wnd up 3 lines */
} getch(); wnd = wpop(wnd); /* Clear keyboard & remove wnd */
}